package com.CmJava.servlet.modelAndView;

public class ModelAndView {
    private Object view;
    private ModelMap model;

    public ModelAndView(Object view, ModelMap model) {
        this.view = view;
        this.model = model;
    }

    public String getViewName() {
        return view.toString();
    }

    public Object getModelInternal() {
        return model;
    }
}
